<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- top头部 -->
<div th:fragment="header">

  <div class="dwz-box"></div>

  <div class="head-container">
    <div class="wrap">

      <!-- logo -->
      <a class="logo" href="#" rel="nofollow"></a>
      <!-- logo End -->

      <!-- 网站导航 -->
      <div class="nav-item-box">
        <a href="/index" class="pc-yxw-nav">首页</a>
        <a href="/course/list" class="pc-yxw-nav">视频课程</a>
        <a href="#" class="pc-yxw-nav" rel="nofollow">会员特权</a>
        <a href="#" class="pc-yxw-nav">干货分享</a>
        <a class="pc-yxw-nav btn1" style="cursor:pointer;">手机学课</a>
      </div>
      <!-- 网站导航 End -->

      <!-- 课程搜索 -->
      <div class="ysearch-box">
        <form method="post" name="f1" action="#" onsubmit="return checkSearchForm()">
          <input type="hidden" name="kwtype" value="0">
          <input type="hidden" id="driverId" name="channeltype" value="17">
          <input type="text" class="yfixtext" id="keyword" name="keyword" placeholder="搜索课程" autocomplete="off">
          <input type="submit" class="fixsbmt" value="">
        </form>
      </div>
      <!-- 课程搜索 End -->

      <!-- 登录/注册 -->
      <div class="topRight">
        <div class="sign-box" id="_userlogin" th:if="${session.user == null}">
          <a class="a globalLoginBtn"  href="/user/toLogin" rel="nofollow">登录</a>
          <a class="a register" href="/user/toRegister" rel="nofollow">注册</a>
        </div>
        <div class="sign-box" id="_userRegiste"  th:if="${session.user != null}">
          <span th:text="'欢迎'+${session.user.nickname}"></span>
          <a class="a globalLoginBtn" href="/user/toLogin" rel="nofollow">注销</a>
        </div>
      </div>
      <!-- 登录/注册 End -->
    </div>
  </div>
  <!-- top头部 End -->
  <div class="top-yxw-pc-gl"></div>

</div>

<div th:fragment="foot">
  <!-- 底部版权 -->
  <div class="footer-link">
    <!-- logo -->
    <div class="layout-cont-logo"><img src="../images/footer-logo.png"></div>
    <div class="w1200">
      <ul>
        <li class="link">
          <a href="#about/index/" rel="nofollow">关于我们</a>
          <span class="sep">|</span>
          <a href="#about/banquan/" rel="nofollow">版权声明</a>
          <span class="sep">|</span>
          <a href="#about/lianxi/" rel="nofollow">联系我们</a>
          <span class="sep">|</span>
          <a href="#about/faq/" rel="nofollow">帮助中心</a>
          <span class="sep">|</span>
          <a href="#tequan/" rel="nofollow">VIP特权</a>
        </li>
      </ul>
      <p>Copyright © 2005-2020 蜗牛学堂 版权所有<a href="http://beian.miit.gov.cn/" rel="nofollow" target="_blank" class="footer-yxw-gxb">粤ICP备xxxxxxxx号</a></p>
      <p>咨询电话：13988888888，QQ客服：88888888</p>
    </div>
  </div>

</div>
</html>
